home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
1116.ZIP
/
TOOLKIT.ARC
/
MODE.C
< prev
next >
Wrap
Text File
|
1979-12-31
|
547b
|
25 lines
/* MODE.C */
#include mode.h
#include stdio.h
#include cursor.h
main()
{
char a; int mode;
putchar(13);
mode = findmode(mode);
puts("Video mode = "); printf("%d",mode); putchar(13);
putchar(13);
puts("Press any key to continue ... "); a = getchar(a);
color(31);
puts("White on Blue");
vblock(66,5,20,10,50);
cursor(7,25); puts("A noticeable spot.");
cursor(22,0); puts("End of MODE.C demo program.");
}